<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head lang="en">
    <meta charset="UTF-8">
    <title>超市订单管理系统</title>
    <link type="text/css" rel="stylesheet" th:href="@{/css/style.css}"/>
    <link type="text/css" rel="stylesheet" th:href="@{/css/public.css}" />
</head>
<body>
<!--头部-->
    <header class="publicHeader">
        <h1>超市订单管理系统</h1>
        <div class="publicHeaderR">
            <p><span>下午好！</span><span style="color: #fff21b"> admin</span> , 欢迎你！</p>
            <a href="/logout.do">退出</a>
        </div>
    </header>
<!--时间-->
    <section class="publicTime">
        <span id="time">2015年1月1日 11:11  星期一</span>
        <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！（IE10+）</a>
    </section>
 <!--主体内容-->
 <section class="publicMian ">
     <div class="left">
         <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
         <nav>
             <ul class="list">
                 <li ><a href="/bill.do?method=query">订单管理</a></li>
              <li><a href="/provider.do?method=query">供应商管理</a></li>
              <li><a href="/user.do?method=query">用户管理</a></li>
              <li><a href="/pwdmodify.jsp">密码修改</a></li>
              <li><a href="/logout.do">退出系统</a></li>
             </ul>
         </nav>
     </div>
     <input type="hidden" id="path" name="path" value="../"/>
     <input type="hidden" id="referer" name="referer" value="../"/>

     <div th:text="${msg}"></div>
  <div class="right">
      <div class="location">
          <strong>你现在所在的位置是:</strong>
          <span>供应商管理页面 >> 供应商修改页</span>
      </div>
      <div class="providerAdd">
          <form id="providerForm" name="providerForm" method="post" action="/provider/doUpdatePro">
              <input type="hidden" th:value="${pPc}" name="pPc">
              <input type="hidden" th:value="${provider.id}" name="id">
              <!--div的class 为error是验证错误，ok是验证成功-->
              <div class="">
                  <label for="proCode">供应商编码：</label>
                  <input type="text" name="procode" id="proCode" th:value="${provider.procode}" readonly="readonly">
              </div>
              <div>
                  <label for="proName">供应商名称：</label>
                 <input type="text" name="proname" id="proName" th:value="${provider.proname}">
			<font color="red"></font>
              </div>
              
              <div>
                  <label for="proContact">联系人：</label>
                  <input type="text" name="procontact" id="proContact" th:value="${provider.procontact}">
			<font color="red"></font>
              </div>
              
              <div>
                  <label for="proPhone">联系电话：</label>
                  <input type="text" name="prophone" id="proPhone" th:value="${provider.prophone}">
			<font color="red"></font>
              </div>
              
              <div>
                  <label for="proAddress">联系地址：</label>
                  <input type="text" name="proaddress" id="proAddress" th:value="${provider.proaddress}">
              </div>
              
              <div>
                  <label for="proFax">传真：</label>
                  <input type="text" name="profax" id="proFax" th:value="${provider.profax}">
              </div>
              
              <div>
                  <label for="proDesc">描述：</label>
                  <input type="text" name="prodesc" id="proDesc" th:value="${provider.prodesc}">
              </div>
              <div class="providerAddBtn">
                  <input type="submit" name="save" id="save" value="保存">
				  <input type="button" id="back" name="back" value="返回" >
              </div>
          </form>
      </div>
  </div>
</section>

<footer class="footer">
    版权归朝腾教育
</footer>
<script type="text/javascript" src="../static/js/time.js"></script>
<script type="text/javascript" src="../static/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="../static/js/common.js"></script>
<script type="text/javascript" src="../static/calendar/WdatePicker.js"></script>
</body>
</html>
<script type="text/javascript" src="../static/js/providermodify.js"></script>